<?php defined('SYSPATH') or die('No direct script access.');

class Views {
	
	public static function Language($redirect = '', $template='base/language.tpl') {
		$view = Smarty_View::factory($template);
		$view->langs = Kohana::$config->load('lang.lang_uri_abbr');
		$view->redirect = $redirect;
		return $view;
	}
	
	public static function Register($redirect = '/',$template='auth/register.tpl') {
		$view = Smarty_View::factory($template);
		$view->redirect = $redirect;
		return $view;
	}
	
} // End Base